package com.cn.crmsystem.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.data.annotation.Id;

import java.util.Date;

@ApiModel(value = "市场活动实体类(activity)")
public class Activity {
  @Id
  @ApiModelProperty("活动编号")
  private Integer activity_id;
  @ApiModelProperty("活动名称")
  private String activity_name;
  @ApiModelProperty("活动对象（0：潜在客户  1：客户）")
  private Integer activity_ojects;
  @ApiModelProperty("活动创建人")
  private Integer activity_creator ;
  @ApiModelProperty("活动负责人")
  private Integer activity_leader;
  @ApiModelProperty("活动类型(0:广告 1：研讨会 2：电子邮件 3：营销 4：合作伙伴)")
  private Integer activity_type;
  @ApiModelProperty("开始时间")
  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private Date activity_start_time;
  @ApiModelProperty("结束时间")
  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private Date activity_end_time;
  @ApiModelProperty("活动预算")
  private double activity_budget;
  @ApiModelProperty("活动地址")
  private String activity_address;
  @ApiModelProperty("删除状态2（0：显示,1：隐藏）")
  private Integer delete_state;
  @ApiModelProperty("活动简介")
  private String activity_introduce;
  @ApiModelProperty("状态（0:启用；1：未启用）")
  private Integer activity_state;
  @ApiModelProperty("活动创建人")
  private String username;
  @ApiModelProperty("活动负责人")
  private String name;
  @ApiModelProperty("创建时间")
  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private  Date activity_establish_time;


  public Integer getActivity_id() {
    return activity_id;
  }

  public void setActivity_id(Integer activity_id) {
    this.activity_id = activity_id;
  }

  public String getActivity_name() {
    return activity_name;
  }

  public void setActivity_name(String activity_name) {
    this.activity_name = activity_name;
  }

  public Integer getActivity_ojects() {
    return activity_ojects;
  }

  public void setActivity_ojects(Integer activity_ojects) {
    this.activity_ojects = activity_ojects;
  }

  public Integer getActivity_creator() {
    return activity_creator;
  }

  public void setActivity_creator(Integer activity_creator) {
    this.activity_creator = activity_creator;
  }

  public Integer getActivity_leader() {
    return activity_leader;
  }

  public void setActivity_leader(Integer activity_leader) {
    this.activity_leader = activity_leader;
  }

  public Integer getActivity_type() {
    return activity_type;
  }

  public void setActivity_type(Integer activity_type) {
    this.activity_type = activity_type;
  }

  public Date getActivity_start_time() {
    return activity_start_time;
  }

  public void setActivity_start_time(Date activity_start_time) {
    this.activity_start_time = activity_start_time;
  }

  public Date getActivity_end_time() {
    return activity_end_time;
  }

  public void setActivity_end_time(Date activity_end_time) {
    this.activity_end_time = activity_end_time;
  }

  public double getActivity_budget() {
    return activity_budget;
  }

  public void setActivity_budget(double activity_budget) {
    this.activity_budget = activity_budget;
  }

  public String getActivity_address() {
    return activity_address;
  }

  public void setActivity_address(String activity_address) {
    this.activity_address = activity_address;
  }

  public Integer getDelete_state() {
    return delete_state;
  }

  public void setDelete_state(Integer delete_state) {
    this.delete_state = delete_state;
  }

  public String getActivity_introduce() {
    return activity_introduce;
  }

  public void setActivity_introduce(String activity_introduce) {
    this.activity_introduce = activity_introduce;
  }

  public Integer getActivity_state() {
    return activity_state;
  }

  public void setActivity_state(Integer activity_state) {
    this.activity_state = activity_state;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Date getActivity_establish_time() {
    return activity_establish_time;
  }

  public void setActivity_establish_time(Date activity_establish_time) {
    this.activity_establish_time = activity_establish_time;
  }

  @Override
  public String toString() {
    return "Activity{" +
            "activity_Id=" + activity_id +
            ", activity_name='" + activity_name + '\'' +
            ", activity_ojects=" + activity_ojects +
            ", activity_creator=" + activity_creator +
            ", activity_leader=" + activity_leader +
            ", activity_type=" + activity_type +
            ", activity_start_time=" + activity_start_time +
            ", activity_end_time=" + activity_end_time +
            ", activity_budget=" + activity_budget +
            ", activity_address='" + activity_address + '\'' +
            ", delete_state=" + delete_state +
            ", activity_introduce='" + activity_introduce + '\'' +
            ", activity_state=" + activity_state +
            ", username='" + username + '\'' +
            ", name='" + name + '\'' +
            ", activity_establish_time=" + activity_establish_time +
            '}';
  }
}
